package com.woniu.servicepay.feignClient;

import com.woniu.internalcommon.dto.ResponseResult;
import com.woniu.internalcommon.request.OrderRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
@FeignClient("service-order")
public interface OrderFeignClient {
    @PostMapping("/pay")
    ResponseResult pay(@RequestBody OrderRequest orderRequest);
}
